package com.softtown.modules.dapai.service;


import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompCityDTO;
import com.softtown.modules.dapai.entity.CompCityEntity;
import com.softtown.modules.dapai.vo.CompCityVO;
import com.softtown.modules.organization.dto.CompOrgDeptDTO;
import com.softtown.modules.organization.vo.CompOrgDeptVO;

import java.util.List;


/**
 * @Author: Ding Ya Yong
 * @Description: 地区
 * @Date: 2021/12/24 21:18
 * @Param:
 * @return:
 **/
public interface CompCityService extends BaseService<CompCityEntity> {

    List<CompCityVO> getTreeCity(Long companyId);

    List<CompCityVO> getProvinceCities(Long compId);
    List<CompCityVO> getCityListById(Long compId,Long id);

    List<CompCityVO> getCityList(Long companyId);

    void addCity(CompCityDTO compCityDTO);

    void updateCity(CompCityDTO compCityDTO);

    void deleteCity(Long compId,Long id);

}
